What exact connector is this?
A quick look on the JST website turned up this product family which looks like the connector you have. Specifically part number PAP-04V-S. If you download the CAD model you should be able to verify it.