diff --git a/spec/karma.conf.js b/spec/karma.conf.js
index cff56013dafa5ae119154af750913ee51078c5ac..76c12d0cbd668862a62d60ff9377427005964bc1 100644
--- a/spec/karma.conf.js
+++ b/spec/karma.conf.js
@@ -37,7 +37,7 @@ module.exports = function(config) {
         included: true
       },
       {
-        pattern: './src/util/worker.js',
+        pattern: './worker/worker.js',
         served: true,
         included: false
       },
diff --git a/src/atlasViewer/atlasViewer.workerService.service.ts b/src/atlasViewer/atlasViewer.workerService.service.ts
index 98dea256450eaddbcd4a0849176185317a5fe9bc..45ca6fd9af0cf13cda1312602551e12a3f72c6f8 100644
--- a/src/atlasViewer/atlasViewer.workerService.service.ts
+++ b/src/atlasViewer/atlasViewer.workerService.service.ts
@@ -4,7 +4,8 @@ import { filter, take } from "rxjs/operators";
 import { getUuid } from "src/util/fn";
 
 /* telling webpack to pack the worker file */
-import '../util/worker.js'
+import '../../worker/worker.js'
+import '../../worker/worker-plotly.js'
 
 /**
  * export the worker, so that services that does not require dependency injection can import the worker