diff --git a/openbis_standard_technologies/build.gradle b/openbis_standard_technologies/build.gradle
index 79109a22af1106c524448bc64134cd38cda59f96..dea678d2d24f64c7c80569ee4faf4c79e6560efc 100644
--- a/openbis_standard_technologies/build.gradle
+++ b/openbis_standard_technologies/build.gradle
@@ -395,9 +395,10 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
 }
 
 task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, proteomicsApiZip, screeningApiZip]) {
+  def pybisVersion = '1.4.1'
   baseName 'openBIS-clients-and-APIs'
-  downloadFile('https://sissource.ethz.ch/sispub/pybis/repository/release/1.4.1/archive.zip', 'pybis-1.4.1.zip')
-  from 'targets/downloads/pybis.zip'
+  downloadFile("https://sissource.ethz.ch/sispub/pybis/repository/release/${pybisVersion}/archive.zip", "pybis-${pybisVersion}.zip")
+  from "targets/downloads/pybis-${pybisVersion}.zip"
   from dssClientZip.archivePath
   from queryApiZip.archivePath
   from apiV3Zip.archivePath