diff --git a/tools/plotting/fastnnlo_pdfunc.py b/tools/plotting/fastnnlo_pdfunc.py
index 39f2a910a24c11df55f39ed573459cb225e389fd..ddac4f97de480aa3fadf361212cd60e76bcfcc1e 100755
--- a/tools/plotting/fastnnlo_pdfunc.py
+++ b/tools/plotting/fastnnlo_pdfunc.py
@@ -93,6 +93,7 @@ class SplitArgs(argparse.Action):
 
 # Some global definitions
 _fntrans = str.maketrans({'[': '', ']': '', '(': '', ')': '', ',': ''}) # Filename translation table
+_sntrans = str.maketrans({'[': '', ']': '', '(': '', ')': '', ',': '', '/': '÷'}) # Scalename translation table
 _formats = {'eps': 0, 'pdf': 1, 'png': 2, 'svg': 3}
 _text_to_order = {'LO': 0, 'NLO': 1, 'NNLO': 2}
 _order_to_text = {0: 'LO', 1: 'NLO', 2: 'NNLO'}
@@ -269,11 +270,11 @@ def plotting(x_axis, xmin, xmax, xs_all, rel_pdf_unc, abs_pdf_unc, dxsr_cn, nost
         ordernames += '_%s' % order_item
 
         if given_filename is not None:
-            filename = '%s.pdfunc-%s.%s' % (given_filename,
-                                            order_item, pdffilenames[1:])
+            filename = '%s.pdfunc-%s.%s.%s' % (given_filename,
+                                               order_item, pdffilenames[1:], scale_name.translate(_sntrans))
         else:
             filename = '%s.pdfunc-%s.%s.%s' % (tablename,
-                                               order_item, pdffilenames[1:], scale_name)
+                                               order_item, pdffilenames[1:], scale_name.translate(_sntrans))
             if not nostat:
                 filename = filename+'.stat'
 
diff --git a/tools/plotting/fastnnlo_scaleunc.py b/tools/plotting/fastnnlo_scaleunc.py
index 731b772559593e900a2e4f98df62290ea7d74558..fd66d5f60f9e571c3d7a20762b5c31d960895d2f 100755
--- a/tools/plotting/fastnnlo_scaleunc.py
+++ b/tools/plotting/fastnnlo_scaleunc.py
@@ -94,6 +94,7 @@ class SplitArgs(argparse.Action):
 
 # Some global definitions
 _fntrans = str.maketrans({'[': '', ']': '', '(': '', ')': '', ',': ''}) # Filename translation table
+_sntrans = str.maketrans({'[': '', ']': '', '(': '', ')': '', ',': '', '/': '÷'}) # Scalename translation table
 _formats = {'eps': 0, 'pdf': 1, 'png': 2, 'svg': 3}
 _text_to_order = {'LO': 0, 'NLO': 1, 'NNLO': 2}
 _order_to_text = {0: 'LO', 1: 'NLO', 2: 'NNLO'}
@@ -239,10 +240,10 @@ def plotting(x_axis, xmin, xmax, xs_all, rel_scale_unc, abs_scale_unc, dxsr_cn,
 
     if given_filename is not None:
         filename = '%s.scaleunc-%s.%s.%s' % (given_filename,
-                                             vartype, ordernames[1:], scale_name)
+                                             vartype, ordernames[1:], scale_name.translate(_sntrans))
     else:
         filename = '%s.scaleunc-%s.%s.%s.%s' % (
-            tablename, vartype, ordernames[1:], pdfset, scale_name)
+            tablename, vartype, ordernames[1:], pdfset, scale_name.translate(_sntrans))
         if not nostat:
             filename = filename+'.stat'