diff --git a/openbis_standard_technologies/build.gradle b/openbis_standard_technologies/build.gradle
index f6fad9a46eb1170b577c5c411f85ad31bf62df17..b2dfbea94a2f2e1854ede38242a8f77a90f1db76 100644
--- a/openbis_standard_technologies/build.gradle
+++ b/openbis_standard_technologies/build.gradle
@@ -397,13 +397,17 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
 task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, proteomicsApiZip, screeningApiZip]) {
   baseName 'openBIS-clients-and-APIs'
   downloadFile('https://sissource.ethz.ch/sispub/pybis/repository/RELEASE/archive.zip', 'pybis.zip')
-  from zipTree('targets/downloads/pybis.zip')
+  from 'targets/downloads/pybis.zip'
   from dssClientZip.archivePath
   from queryApiZip.archivePath
   from apiV3Zip.archivePath
   from proteomicsApiZip.archivePath
   from screeningApiZip.archivePath
   from ('../openbis_all/dist/readme.txt')
+  def contentOfSetUpFile = zipTree('targets/downloads/pybis.zip').getFiles().findAll {it.path.endsWith('PyBis/setup.py') }.iterator().next().text
+  def pybisVersion = ( contentOfSetUpFile =~ /version.*=.*'(.*)'/)[0][1]
+  println pybisVersion
+  rename 'pybis.zip', "pybis-${pybisVersion}.zip"
 }
 
 task generateJavadoc(type: Javadoc) {