You can just move those 2 jars to .ear/lib folder. That way they both will be available in the classpath of the application.
You are right. I though I tried this before. But I think I added the jar twice - one to the root folder an one jar to lib/. If I add the jar only to the lib folder and remove the Class-Path from MANIFEST it works.