Add custom TinyMCE 4 Button: Is it mandatory to have one JS per button?

The problem was related to the PHP file.

The Javascript file can contain two buttons but must be referenced twice as shown in the picture.

enter image description here