Use Diskutility -> File -> New -> Disk image from folder
Choose the folder, make sure the image format is set to DVD/CD Master, the encoding set to None.
when created, change the format with the following command line:
hdiutil makehybrid -iso -joliet -o Master.iso Master.cd
found partially on : http://forums.macrumors.com/showthread.php?t=220740