I have no solution out of the box, sorry.

You can try to find out from which DLL this function is coming from and copy it manually, but chances are high that the next DLL will be missing.

Also you could try some sort of dependency checker. It should list the dependencies between DLL files.