@Oren *****
I am sorry I thought you "lost/destroyed" your passport in which case you would have had a police report about it
If you still have it (even though it is in the condition it's in) you take BOTH passports (and the letter from the embassy stating you got a new passport in thailand) to the immigration office and they will move the stamps