You could use the terminal's zip program to "exclude" those files. From the man page:
Some other examples would be
(#exclude .DS_Store files) zip -r archive.zip myprojectdirectory -x \.DS_Store
(#exclude subversion files) zip -r archive.zip myprojectdirectory -x \.svn
(#exclude all hidden...