call PointerUp event of a button from other game object's script.

Question says it all . I want to call pointerUP event of a button from other script. Is there any way to do it.

What’s wrong with creating a simple script and attaching it to each button which can call a function on another GameObject to do something.

Maybe something like this:
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;

public class MyScript : MonoBehaviour, IPointerUpHandler {

public GameObject myGameObject

public void OnPointerUp (PointerEventData eventData) {
myGameObject.GetComponent<ScriptName>().DoSomething ();
}

}