Hi Carlos,
Jack sockets from different manufacturers have the PCB pins in a variety of different positions.
If the new socket has pins in different places to the old socket, you may need to search several sellers to find an exact match.
On Ebay, for example, there is a very wide range. You could search for "stereo 3.5mm headphone socket", or "stereo 3.5mm audio socket", then carefully study the images on each one to locate a socket that (possibly) exactly matches. (Probably needs to be a low-profile type anyway.)
If you cannot find an exact match, it may be necessary to first attach the socket to the PCB, perhaps by means of epoxy adhesive, then fit wires from its pins to the appropriate PCB tracks.
You will need to determine which pin of the socket has each function (ground; left channel, right channel), and make sure that the pins of your replacement socket are connected to the equivalent PCB tracks.
The socket may have make-and-break contacts, so that the laptop's internal speakers are disconnected when the headphone plug is inserted. (Sockets with a clear side panel make it easy to see which contact is which.)
For example, the PCB track providing the left channel signal will connect to the left laptop speaker via two of the socket contacts, so that the circuit to the speaker is disconnected when the headphone plug is inserted.
When faced with similar problem, I have had to be quite creative in finding ways to modify sockets to fit a particular situation. (See attached image.)
Can you provide close-up images of the old and new sockets ?