     else
       from = "-#{@config.settings.timeRange} hours"
     series = graph.series.concat(@config.settings.graphiteAdditionalSeries)
-    "#{@config.sources.graphite}/render/?width=#{@imageWidth}&height=#{@imageHeight}&target=#{series.join(',')}&from=#{from}&graphOnly=false&hideLegend=true&areaMode=first&lineWidth=2"
+    "#{@config.sources.graphite}/render/?width=#{@imageWidth}&height=#{@imageHeight}&target=#{series.join('&target=')}&from=#{from}&graphOnly=false&hideLegend=true&areaMode=first&lineWidth=2"
 
   getCactiURL: (graph) ->
     endTime = Math.floor((new Date().getTime())/1000)


  setUp: =>
    @graphLoaded = false
    @updateWindowSize()
    $(window).resize(@updateWindowSize)
    @currentGraph = 0

    $('h1#title').html(graphConf.title)
    @currentGraph = (@currentGraph + 1) % @config.graphs.length
    @graphLoaded = false
    console.log(@config.settings.dwellTime)
    setTimeout(@displayGraph, @config.settings.dwellTime)
    @preloadGraph(@config.graphs[@currentGraph])

