Use tikzpicture with include instead of includegraphics.