Consolidated Image

Hello there.
I m running with trobles cuz when i consolidate the images from the uv textures into one single image, the reference of the faces to it´s own textures are lost and fixed to the new consolidated image texture. Is there a way to keep track of the reference to the original images?
Thank you.
pd. i ve already seen the treat about the problems for unloading images from the blend, is there a fix for that script?