You can put all of the meshes in the level (or some level) and UE4 should compile shaders for all of them.