I can't see why you need to do that. Why don't you just mount your CF card and copy the files?????
Anyway, to create an image the way to go is: create what you need in a device, and once you have it dd that device.
For instance. Create a partition in a usb memory and create the filesystem (mkfs), copy the file and the plugins where you want them to be in the usb.
Suppose your device is /dev/sdh1, and you have copied your files there, the only thing you have to do is
dd if=/dev/sdh1 of=/home/anesh/yourUSBimage.img
You will have a file in your directory containig the image.